package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseShipRoute is a Querydsl bean type
 */
@Label("航线基本信息表")
public class EBaseShipRoute extends AbstractIdEntity<String> {

    private static final long serialVersionUID =3547271511459L;    
    @Size(max=100)
    @Label("baseShipRouteName")
    private String baseShipRouteName;

    @Size(max=45)
    @Label("备注")
    private String comments;

    @Size(max=45)
    @Label("目的地码头")
    private String destPort;

    @Size(max=45)
    @Label("目的地")
    private String endCity;

    @Size(max=8)
    @Label("删除标记")
    private String flag;

    @Size(max=24)
    @Label("id")
    @NotNull(groups={UpdateCheck.class})
    private String id;

    @Size(max=45)
    @Label("始发地")
    private String startCity;

    @Size(max=45)
    @Label("始发码头")
    private String startPort;

    @Size(max=45)
    @Label("状态")
    private String status;

    public String getBaseShipRouteName() {
        return baseShipRouteName;
    }

    public void setBaseShipRouteName(String baseShipRouteName) {
        this.baseShipRouteName = baseShipRouteName;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getDestPort() {
        return destPort;
    }

    public void setDestPort(String destPort) {
        this.destPort = destPort;
    }

    public String getEndCity() {
        return endCity;
    }

    public void setEndCity(String endCity) {
        this.endCity = endCity;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStartCity() {
        return startCity;
    }

    public void setStartCity(String startCity) {
        this.startCity = startCity;
    }

    public String getStartPort() {
        return startPort;
    }

    public void setStartPort(String startPort) {
        this.startPort = startPort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String toString() {
         return String.format("EBaseShipRoute { baseShipRouteName : %s,comments : %s,destPort : %s,endCity : %s,flag : %s,id : %s,startCity : %s,startPort : %s,status : %s }",baseShipRouteName,comments,destPort,endCity,flag,id,startCity,startPort,status);
    }

}

